package org.ne.framework.data.core;

import java.util.List;
import java.util.Map;

import org.ne.framework.data.page.Page;

public interface JdbcPersistence {

	public List<Map<String, Object>> queryForList(String sql, Page page);

	// 万能分页查询
	public List<Map<String, Object>> queryForListUniversal(String sql,
			Object[] args, Page page);

	public List<Map<String, Object>> queryForList(String sql, Object[] args,
			Page page);

	public List<Map<String, Object>> queryForList(String sql, String sql_count,
			Object[] args, Page page);

}
